/**
 * 产品管理
 */
import request from '@/utils/request'

/**
 * @method getDeliveryConfig
 * @description 获取配送配置
 */
export function getDeliveryConfig(params) {
  return request({
    url: '/mall/admin/store/delivery/config',
    method: 'get',
    params: params
  })
}

/**
 * @method saveDeliveryConfig
 * @description 保存配送配置
 */
export function saveDeliveryConfig(data) {
  return request({
    url: '/mall/admin/store/delivery/save',
    method: 'post',
    data: data
  })
}
